/* Центрирование карточки по прямому уточнению Андрея; iframe и поведение прежние. */
.cdr-form-popup:not([open]){display:none}
.cdr-form-popup{position:fixed;inset:0;z-index:50;display:flex;flex-direction:column;width:min(620px,calc(100% - 32px));height:min(620px,calc(100dvh - 32px));max-height:calc(100dvh - 32px);margin:auto;padding:0;border:1px solid #d8cfd8;border-radius:18px;background:#faf8f7;color:#170d22;box-shadow:0 20px 64px #170d2224;overflow:hidden;font-family:Manrope,sans-serif}
.cdr-form-popup[open]{animation:cdr-form-appear 180ms cubic-bezier(.2,.8,.2,1)}
.cdr-form-popup [hidden]{display:none!important}
.cdr-form-popup-header{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:56px;padding:6px 10px 6px 28px;flex:none}
.cdr-form-popup-header>span{font-size:16px;font-weight:750;letter-spacing:-.05em}
.cdr-form-dot{font-size:7px;color:#ff8a71;padding-left:2px}
.cdr-form-popup-header button{display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:50%;background:transparent;color:#655b6a;font:24px/1 Manrope,sans-serif;cursor:pointer}
.cdr-form-popup-header button:hover{background:#f0e9e8}
.cdr-form-popup button:focus-visible,.cdr-form-popup a:focus-visible{outline:3px solid #9a3b28;outline-offset:2px}
.cdr-form-popup iframe{display:block;width:100%;flex:1;min-height:0;border:0;background:#faf8f7}
.cdr-form-loading,.cdr-form-unavailable{padding:20px 28px;font-size:14px;line-height:1.7}
.cdr-form-unavailable a{color:inherit;overflow-wrap:anywhere}
.cdr-form-popup-footer{flex:none;padding:0 28px 8px;font-size:11px;line-height:1.5}
.cdr-form-popup-footer a{display:inline-flex;align-items:center;min-height:32px;color:#655b6a;text-underline-offset:3px}
@keyframes cdr-form-appear{from{opacity:0;transform:translateY(8px) scale(.99)}to{opacity:1;transform:none}}
@media(max-width:480px){.cdr-form-popup{inset:0;width:calc(100% - 24px);height:calc(100dvh - 24px);max-height:calc(100dvh - 24px);border-radius:16px}.cdr-form-popup-header{padding-left:20px}.cdr-form-popup-footer{padding-inline:20px}}
@media(prefers-reduced-motion:reduce){.cdr-form-popup[open]{animation:none!important;transform:none}.cdr-form-popup *{animation:none!important;transition:none!important}}
